package com.example.qiniupload.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "qiniu")
public class QiniuProperties {
    
    /**
     * 七牛云AccessKey
     */
    private String accessKey;
    
    /**
     * 七牛云SecretKey
     */
    private String secretKey;
    
    /**
     * 存储空间名称
     */
    private String bucket;
    
    /**
     * 域名
     */
    private String domain;
    
    /**
     * 存储区域
     */
    private String region;
}
